﻿using EcoSystem.Enums;
using System;
using System.ComponentModel.DataAnnotations;

namespace EcoSystem
{
    /// <summary>
    /// 
    /// </summary>
    public class GetSettingsInput
    {
        /// <summary>
        /// 分类
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 系统编号
        /// </summary>
        [Required]
        public string ModuleCode { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        [Required]
        public ConfigLevel Level { get; set; }

        /// <summary>
        /// 使用方式
        /// </summary>
        public Nullable<Usage> Usage { get; set; }

    }
}
